package designmode.decorator.human;

/**
 * 装饰者是个抽象类
 * 
 * @author yangjuntao@p-an.com 2013年11月22日
 */
public abstract class Decorator implements Human
{
	private final Human human;

	public Decorator(final Human human)
	{
		this.human = human;
	}

	@Override
	public void wearClothes()
	{
		human.wearClothes();
	}

	@Override
	public void walkToWhere()
	{
		human.walkToWhere();
	}

}
